package genericinterfacedemo;

public class IDaoImpl implements IDao<String> {

    @Override
    public void print(String obj) {
        System.out.println("obj type is: " + obj.getClass().getName()+",value is:"+obj);
    }

    public static void main(String[] args) {
        new IDaoImpl().print("hello,world!");
    }
}
